// 服务器非英文名插件

string author = "Live";
string pluginName = "Hostname 服务器非英文名插件";
string version = "1.0";

void OnPluginInit()
{
    // 设置插件信息
    PluginData::SetAuthor(author);
    PluginData::SetName(pluginName);
    PluginData::SetVersion(version);
    // 提示
	ThePresident.InfoFeed("插件:"+pluginName+"| 版本:"+version+"| 作者:"+author,false);

	ThePresident_OnMapStart();
}

void ThePresident_OnMapStart()
{
	ThePresident_OnRoundStart();
}

void ThePresident_OnRoundStart()
{
	SetSName();
}

void SetSName()
{
	CASConVarRef@ hostname = ConVar::Find( "hostname" );
	hostname.SetValue( "ABCDEFG" );
}